package com.example.service;

import com.example.entity.Goods;
import com.github.pagehelper.PageInfo;

import java.util.ArrayList;

public interface GoodsService {
     PageInfo<Goods> queryAll(Integer pageNum, Integer pageSize);
    int deleteByID(Integer id);
    ArrayList<Goods> query();
    Goods findById(Integer id);
    int update(Goods goods);
    int insert(Goods goods);
    Goods foundByID(Integer gdID);
}
